from typing import Optional, List, Dict

from pydantic import BaseModel, Extra

class SearchModel(BaseModel):
    noid: str
    meta_path: str
    start: int
    duration: int
    name: str

    class Config:
        extra = Extra.allow
